package com.example.demo.user.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 运营人员评论申诉表
 * </p>
 *
 * @author tao
 * @since 2025-02-11
 */
@Data

public class UCommentAppeal implements Serializable {

    private static final long serialVersionUID = 1L;



    /**
     * id
     */
    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    /**
     * 差评id
     */
    @TableField("COMMENT_ID")
    private String commentId;

    /**
     * 运营人员ID
     */
    @TableField("UID")
    private String uid;

    /**
     * 差评者ID
     */
    @TableField("TID")
    private String tid;

    /**
     * 申诉类型
     */
    @TableField("APPEAL_TYPE")
    private String appealType;

    /**
     * 申诉理由
     */
    @TableField("APPEAL_REASON")
    private String appealReason;

    /**
     * 附件ID
     */
    @TableField("DID")
    private String did;

    /**
     * 乐观锁
     */
    private Integer revision;

    /**
     * 创建人
     */
    @TableField("CREATED_BY")
    private String createdBy;

    /**
     * 创建时间
     */
    @TableField(value = "CREATED_TIME", fill = FieldFill.INSERT)
    @DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME)
    private LocalDateTime createdTime;

    /**
     * 更新人
     */
    @TableField("UPDATED_BY")
    private String updatedBy;

    /**
     * 更新时间
     */
    @TableField(value = "UPDATED_TIME", fill = FieldFill.UPDATE)
    @DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME)
    private LocalDateTime updatedTime;

}